
<div class="navbar navbar-inverse navbar-fixed-top text hidden-xs hidden-sm ">
    <div class="navbar-inner">
        <div class="">
            <a class="nav_back text" href="<{:U('Subject/lesson',array('subjectid'=>$subjectid))}>">&lt;返回课程表</a>
            <div class="collapse navbar-collapse">
                <div class="nav navbar-nav">
                    <div class="dropdown" id="lessonList_div">
                        <a class="lesson_name">
                            <span id="lesson_title"><{$knowsData.knows}><em></em></span>
                        </a>
                        <div id="lessonList" class="dropdown-menu pull-left">
                            <h3>课程目录</h3>
                            <div class="scrollcont">
                                <ul class="detaillist ps-container" data-ps-id="88a0fb91-a23b-288e-8658-be865b4f10e3" style="display: block;">
                                    <volist name="knowsList" id="vo">
                                        <li id="ncre">
                                            <a href="<{:U('Subject/lesson_detail',array('knowsid'=>$vo['knowsid'],'subjectid'=>$subjectid))}>" class="studyvideo">
                                                <{$vo.knows}><i class="
glyphicon glyphicon-unchecked"></i></a>
                                        </li>
                                    </volist>
                                    <div class="ps-scrollbar-x-rail" style="left: 0px; bottom: 3px;">
                                        <div class="ps-scrollbar-x" style="left: 0px; width: 0px;"></div>
                                    </div>
                                    <div class="ps-scrollbar-y-rail" style="top: 0px; right: 3px;">
                                        <div class="ps-scrollbar-y" style="top: 0px; height: 0px;"></div>
                                    </div>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
                <if condition="$knowsData['questions_content']">
                    <div class="btn-group mgt10 pull-left " data-toggle="buttons-radio">
                        <button type="button" for="btnContent" class="btn btn-primary active">题目</button>
                        <button type="button" for="btnRich" class="btn btn-primary">图文解析</button>
                        <button type="button" for="videoWrapper" class="btn btn-primary">视频解析</button>
                    </div>
                    <script type="text/javascript">
                    $(function() {
                        //alert(1);
                        $('[data-toggle="buttons-radio"]').find("button").click(function(event) {
                            $(this).parent("button").removeClass("active");
                            $(this).addClass("active");
                            var id = $(this).attr("for");
                            var obj = $(".col-group").find("#" + id);
                            $(obj).parent().find(".group-tip").removeClass("active");
                            $(obj).addClass("active");
                        });
                    })
                    </script>
                </if>
                 <div class="pull-right">
                    <ul class="nav navbar-nav">
                        <li class="phone"><a href="/Index/content/topic_id/82440">手机APP</a></li>
                        <li class="wei_xin"><a href="/Index/content/topic_id/82425">微信版</a></li>
                        <!--<li class="kj_app"><a href="/zt/app" target="_blank"><i class="i-app"></i>手机APP</a></li>-->
                        <if condition="!$user_info['user_id']">
                            <li class="login_01"><a data-type="login" href="<{:U('Index/login')}>">登录</a></li>
                            <else/>
                            <li class="popover_menu" style="position: relative"> <a tabindex="0" class="popover_hover msg_remain_count">消息</a>
                                <div class="popover_box_content" id="msg_noti_list"></div>
                            </li>
                            <li class="popover_menu popover_menu_user">
                                <a class="closed popover_hover">
                                    <{$user_info[ 'nickname']?$user_info[ 'nickname']: '设置昵称'}>
                                </a>
                                <div class="popover_box_content">
                                    <div class="list-group">
                                        <a href="<{:U('User/money')}>" class="list-group-item border-none"><span class="icon-icon-34" style="color:#afe14c"  aria-hidden="true"></span> 我的财务</a>
                                        <a href="<{:U('User/earn')}>" class="list-group-item"><span class="icon-icon-47"  style="color:#B50000"  aria-hidden="true"></span> 赚学币</a>
                                        <a href="<{:U('User/info')}>" class="list-group-item border-none"><span class="icon-icon-33" style=" color: #C96338" c aria-hidden="true"></span> 帐户设置</a>
                                        <a href="/BoxApi/Index/logout" class="list-group-item" style="border-bottom:none"><span class="icon-icon-45" aria-hidden="true"  style="color:#00c0ff" ></span> 退出</a> </div>
                                </div>
                            </li>
                        </if>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/html" id="msg_noti_list_div">
    <div class="list-group">
        {{each items as _item k }}
        <div class="list-group-item border-none">{{#_item.content}}</div>
        {{/each}}
        <a href="<{:U('User/noti')}>" class="list-group-item  btn_more">查看更多 </a>
    </div>
</script>
